package com.google.code.vannevar.client.ui.listeners;

import com.google.code.vannevar.client.ui.util.Components;
import com.gwtext.client.core.EventObject;
import com.gwtext.client.widgets.Button;
import com.gwtext.client.widgets.Window;
import com.gwtext.client.widgets.event.ButtonListenerAdapter;

public class CancelListener extends ButtonListenerAdapter {

    @Override
    public void onClick(Button button, EventObject event) {
        
        ((Window) Components.get("login-window")).close();
    }
}